package com.itheima.dao;

import com.itheima.pojo.Order;

import java.util.List;
import java.util.Map;

/**
 * @author chencfgs
 * @date 2019-12-06 20:00
 */
public interface OrderDao {
    List<Order> findByCondition(Order order);

    void add(Order order);

    Order findById(String id);

    Integer findOrderCountByDate(String today);

    Integer findOrderCountAfterDate(String thisWeekMonday);

    Integer findVisitsCountByDate(String today);

    Integer findVisitsCountAfterDate(String thisWeekMonday);

    List<Map<String, Object>> findHotSetmeal();
}
